package upload

import (
	v1 "ginweb-admin/api/v1"
	"github.com/gin-gonic/gin"
)

type LocalUploadRouter struct{}

func (router *LocalUploadRouter) InitLocalUploadRouter(Router *gin.RouterGroup) {
	// 获取接口的api方法
	LocalUploadApi := v1.WebApiGroupApp.LocalUpload.UploadFileApi
	// 创建路由组
	LocalUploadApiGroup := Router.Group("/local")
	{
		// 本地文件上传
		LocalUploadApiGroup.POST("/uploadFile", LocalUploadApi.UploadFile)
	}
}
